package com.wt.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * <p>
 * 社区讨论表
 * </p>
 *
 * @author wt
 * @since 2023-09-17
 */
public class WqunCommunity implements Serializable {

    private int id;
    private String crowdNo;
    private String uid;
    private String avatar;
    private String toUid;
    private String toUserUid;
    private String content;
    private String fileName;
    private String isDelete;
    private String type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String modifiedTime;

    public WqunCommunity() {
    }

    @Override
    public String toString() {
        return "WqunCommunity{" +
                "id=" + id +
                ", crowdNo='" + crowdNo + '\'' +
                ", uid='" + uid + '\'' +
                ", avatar='" + avatar + '\'' +
                ", toUid='" + toUid + '\'' +
                ", toUserUid='" + toUserUid + '\'' +
                ", content='" + content + '\'' +
                ", fileName='" + fileName + '\'' +
                ", isDelete='" + isDelete + '\'' +
                ", type='" + type + '\'' +
                ", createdTime='" + createdTime + '\'' +
                ", modifiedTime='" + modifiedTime + '\'' +
                '}';
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setCrowdNo(String crowdNo) {
        this.crowdNo = crowdNo;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setToUid(String toUid) {
        this.toUid = toUid;
    }

    public void setToUserUid(String toUserUid) {
        this.toUserUid = toUserUid;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public void setModifiedTime(String modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public WqunCommunity(int id, String crowdNo, String uid, String avatar, String toUid, String toUserUid, String content, String fileName, String isDelete, String type, String createdTime, String modifiedTime) {
        this.id = id;
        this.crowdNo = crowdNo;
        this.uid = uid;
        this.avatar = avatar;
        this.toUid = toUid;
        this.toUserUid = toUserUid;
        this.content = content;
        this.fileName = fileName;
        this.isDelete = isDelete;
        this.type = type;
        this.createdTime = createdTime;
        this.modifiedTime = modifiedTime;
    }

    public int getId() {
        return id;
    }

    public String getCrowdNo() {
        return crowdNo;
    }

    public String getUid() {
        return uid;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getToUid() {
        return toUid;
    }

    public String getToUserUid() {
        return toUserUid;
    }

    public String getContent() {
        return content;
    }

    public String getFileName() {
        return fileName;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public String getType() {
        return type;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public String getModifiedTime() {
        return modifiedTime;
    }
}
